package com.auth.token.app;

import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: 王霄
 * @date: 2022/1/20 18:24
 */
@Data
@Builder
public class UserInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 2617778263551640298L;
    private Long uId;
    private String name;
    private Integer age;

    public UserInfo(Long uId, String name, Integer age) {
        this.uId = uId;
        this.name = name;
        this.age = age;
    }
}
